<?php 
## include required files
/*******************************/
require_once '../model/users.php';
/*******************************/

## Create Objects
/*******************************/
$userObj = new Model_Users();
/*******************************/

## Fetch admin user details by id
if($_GET['id'] != '') {
	$user_id = base64_decode($_GET['id']);	
	$user_details = $userObj->getUserDetailsByUserId($user_id);
	$smarty->assign('user_details', $user_details);
}


## Set active class variable for left menu
$smarty->assign('activeclass', 'homeowneruser');
$smarty->assign('mainmenu', '4');
## Unset all the objects created which are on this page
unset($userObj);

$smarty->display(TEMPLATEDIR_ADMIN. 'homeowneruser/detailhomeowner.tpl');
unset($smarty);
?>